﻿@model IEnumerable<MVC_No03.Models.Task>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>GetArrInfo</title>
    <style type="text/css">
        .spanRed {
            color : rgb(255,0,0);
        }
    </style>
</head>
<body>
    <div>
        @foreach (var item in Model)
        {
            <span class="spanRed">TaskID:</span><span>@item.TaskID</span><br />
            <span class="spanRed">TaskPriority:</span><span>@item.TaskPriority</span><br />
            <span class="spanRed">Content:</span><span>@item.Content</span><br />
            <span class="spanRed">AddTime:</span><span>@item.AddTime</span><br />
            <span class="spanRed">TaskState:</span><span>@item.TaskState</span><br />
            <span class="spanRed">FinishedTime:</span><span>
                @if (item.FinishedTime.ToString() == "")
                {
                    <span>NULL</span><br />
                }
                else
                {
                    <span>item.FinishedTime</span><br />
                }
            </span>
            <span class="spanRed">uid:</span><span>@item.uid</span><br />
        }
    </div>
</body>
</html>
